package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Menu;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IMenuService {
    int insert(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> selectAll();

    PageResult query(QueryObject qo);

    void deleteByPrimaryKey(Long id);

    List<Menu> getRootMenu();

    List<Menu> getEmployeeMenu();
}
